
package com.binioter.guideview;

/**
 * 遮罩系统运行异常的封装
 *
 * Created by binIoter
 *
 * @since 2021-04-19
 *
 */
public class BuildException extends RuntimeException {
    private static final long serialVersionUID = 6208777692136933357L;
    private final String mDetailMessage;

    private BuildException() {
        mDetailMessage = "General error.";
    }

    /**
     * 返回编译异常
     * @param detailMessage 异常信息
     * @return   BuildException  异常标签
     *
     */

    public BuildException(String detailMessage) {
        mDetailMessage = detailMessage;
    }

    @Override
    public String getMessage() {
        return "Build Guide failed: " + mDetailMessage;
    }
}
